<?php

namespace Home\Controller;

class MsgController extends FuncController {

    function __construct(){
        parent::__construct();

        $this->mdlTeam = D('team');
        $this->mdlPlayer = D('player');
        $this->mdlTeamPlayer = D('team_player');

        $this->player = $this->mdlPlayer->findPlayer($this->userid);
    }


    public function index(){
        $this->pDisplay( T('Index/index'), true );
    }

    public function msgTypeChoose(){
        $info = array(
            'team_id' => $_GET['team_id'],
            'player_id' => $this->player['player_id'],
        );

        $this->assign('info',$info);
        $this->pDisplay( T('Msg/typeChoose'), true );

// $this->EE($info);

    }


}
